package com.yn.club.auth.application.convert;


import java.util.List;
import com.yn.club.auth.domain.entity.AuthUserDO;
import com.yn.club.auth.application.dto.AuthUserDTO;
import com.yn.club.auth.application.request.AuthUserSaveRequest;
import com.yn.club.auth.application.request.AuthUserQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 用户信息表(AuthUser)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-22 12:33:46
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthUserApplicationConverter {

  AuthUserDTO convertDoToDto(AuthUserDO ojb);
  
  List<AuthUserDTO> convertDoToDto(List<AuthUserDO> ojbs);
  
  AuthUserDO convertDtoToDo(AuthUserDTO ojb);
  
  List<AuthUserDO> convertDtoToDo(List<AuthUserDTO> ojbs);
  
  AuthUserDO convertSaveRequestToDo(AuthUserSaveRequest ojb);
  
  AuthUserDO convertQueryRequestToDo(AuthUserQueryRequest ojb);
  
  
}

